package com.zhome.gateway.response;

import com.fasterxml.jackson.databind.ObjectMapper;
import lombok.*;

/**
 *
 * @author cuiyh9
 * @date 2020/5/9
 */
@NoArgsConstructor
@AllArgsConstructor
@Getter
@Setter
@Builder
@ToString
@EqualsAndHashCode
public class GatewayResponse {

    /**
     * 网关状态码
     */
    private int code;

    /**
     * 业务数据
     */
    private Object data;

    /**
     * 网关状态码中文提示
     */
    private String message;

    /**
     * 请求标识
     */
    private String requestId;

}
